/*
 * Thinker.h
 *
 *  Created on: 30.10.2013
 *      Author: ulgish
 */

#ifndef THINKER_H_
#define THINKER_H_

#include "DThread.h"
#include <Object.h>
#include <cstdlib>
#include <ctime>
namespace DT {

class Thinker: public DT::DThread, public  DT::Object{
	int minDurationOfWalk;
	Thinker(const Thinker& orig);
	virtual void* run(void* arg);
public:
	static bool isRoomSafely;
	Thinker(int minimumDuration);\
	virtual ~Thinker();
};

}

#endif /* THINKER_H_ */
